package crud.service;

import crud.pojo.Employee;

import javax.validation.Valid;
import java.util.List;

public interface employeeService {
    List<Employee> getAll();

     void saveEmp(Employee employee);

     boolean checkUser(String empName);

    Employee getEmp(Integer id);

    void updateEmp(Employee employee);

    List<Employee> getEmpByVague(String content);

    void deleteBatch(List<Integer> del_ids);

    void deleteEmp(Integer id);
}
